-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decouple connection from Blob #823
Decouple connection from Blob #823
Conversation
5cf9023
to
a54b630
Compare
@tseaver I imagine this being a transient issue since at some point I'm not sure what would need to be checked either. |
@dhermes in the tests, we should pass |
The heisenbug that @jgeewax fixed in #834 raised it's head here too. Only the 2nd time I had seen (build failure was first). Will rebase. @tseaver All the They are moving towards no connection anywhere, so falling back is a no-no. |
a54b630
to
ca34a4a
Compare
That's why having the bucket initialized with an invalid connection is the Right Thing (TM): it ensures that fallback cannot cause the test to succeed. |
Gotcher. Current plan is to cherry-pick each of the 5 commits and then replace LMK if this is a bad idea. |
This is to blob and bucket can use it without import cycles.
SGTM |
Allowing the default connection to be used or direct use of a credentials object.
Allowing the default connection to be used.
Allowing the default connection to be used as fallback or takes an explicit connection argument.
Allowing the default connection to be used as fallback or takes an explicit connection argument.
ca34a4a
to
60d43ac
Compare
@tseaver PTAL |
LGTM |
How do you see the split? |
Can you handle the methods in Then we "converge" and remove the |
OK. I just inventoried those methods in #825. |
Awesome! Thanks |
NOTE: Has #822 as diffbase.Towards #728
@tseaver I made a separate commit for each method with used
Blob.connection
but can combine them if you like.I wanted to get rid of the
Blob.connection
property, but_PropertyMixin.reload()
and_PropertyMixin.patch()
use it as well asObjectACL.reload()
andObjectACL.save()
.